Release 10.1A: OpenEdge Application Server:
Developing WebSpeed Applications
setWebState
This procedure sets
Location:web-statefor the current Web object. When web-state changes, the appropriate cookie information is also set.web2\admweb.pParameters:INPUT pdWebTimeout AS DECIMALThe timeout period, in minutes, for the Web object. Specify the time to one decimal place. For example, enter
Returns: LOGICAL Notes:0.0for no timeout period or15.0to signify fifteen minutes.
- This function is called from
outputHeaderin a Web object to change theweb-stateandweb-timeoutattributes. In addition, changing these attributes sets the WSEU (WebSpeed Exclusive User) cookie that instructs WebSpeed to lock the agent process (and therefore dedicate the agent to a particular end user).- When
timeout-periodis set at a positive value, theweb-stateattribute for that object is set tostate-aware, and theweb-timeoutattribute is set to the timeout period.- A timeout period of 0 or less turns the
web-statetostate-lessand resets theweb-timeoutattribute to 0.Examples:- Note that
setWebStatemust be called prior tooutput-content-typeor it will not affect the header for the current HTML page.
See also:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |